package com.surfilter.gsxt;
/**
 *	未使用
 */
public abstract class WebCrawlAbstract {

	private String url;
	
	private Object rules;
	
	private Object params;
	
	public WebCrawlAbstract(String url){
		this.url = url;
	}
	
	public WebCrawlAbstract(String url, Object rules){
		this.url = url;
		this.rules = rules;
	}
	
	public WebCrawlAbstract(String url, Object params, Object rules){
		this.url = url;
		this.params = params;
		this.rules = rules;
	}
	
	public abstract CrawlResult crawling();

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Object getRules() {
		return rules;
	}

	public void setRules(Object rules) {
		this.rules = rules;
	}

	public Object getParams() {
		return params;
	}

	public void setParams(Object params) {
		this.params = params;
	}
	
}
